//
//  CustomNavigationController.m
//  NewGame
//
//  Created by wwj on 15/9/24.
//  Copyright © 2015年 wwj. All rights reserved.
//

#import "CustomNavigationController.h"

@interface CustomNavigationController ()

@end

@implementation CustomNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (UIViewController *)popViewControllerAnimated:(BOOL)animated{
    [[SoundTool sharedSoundTool] playSound:kSoundClick];
   return [super popViewControllerAnimated:animated];
}

-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    [[SoundTool sharedSoundTool] playSound:kSoundClick];
    return [super pushViewController:viewController animated:YES];
}

@end
